package com.study.dbo;

import java.util.ArrayList;
import java.util.List;

public class ManagerDOExample {

    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ManagerDOExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andManagerIdIsNull() {
            addCriterion("manager_id is null");
            return (Criteria) this;
        }

        public Criteria andManagerIdIsNotNull() {
            addCriterion("manager_id is not null");
            return (Criteria) this;
        }

        public Criteria andManagerIdEqualTo(Long value) {
            addCriterion("manager_id =", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdNotEqualTo(Long value) {
            addCriterion("manager_id <>", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdGreaterThan(Long value) {
            addCriterion("manager_id >", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdGreaterThanOrEqualTo(Long value) {
            addCriterion("manager_id >=", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdLessThan(Long value) {
            addCriterion("manager_id <", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdLessThanOrEqualTo(Long value) {
            addCriterion("manager_id <=", value, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdIn(List<Long> values) {
            addCriterion("manager_id in", values, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdNotIn(List<Long> values) {
            addCriterion("manager_id not in", values, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdBetween(Long value1, Long value2) {
            addCriterion("manager_id between", value1, value2, "managerId");
            return (Criteria) this;
        }

        public Criteria andManagerIdNotBetween(Long value1, Long value2) {
            addCriterion("manager_id not between", value1, value2, "managerId");
            return (Criteria) this;
        }

        public Criteria andRolesIdIsNull() {
            addCriterion("roles_id is null");
            return (Criteria) this;
        }

        public Criteria andRolesIdIsNotNull() {
            addCriterion("roles_id is not null");
            return (Criteria) this;
        }

        public Criteria andRolesIdEqualTo(Long value) {
            addCriterion("roles_id =", value, "rolesId");
            return (Criteria) this;
        }

        public Criteria andRolesIdNotEqualTo(Long value) {
            addCriterion("roles_id <>", value, "rolesId");
            return (Criteria) this;
        }

        public Criteria andRolesIdGreaterThan(Long value) {
            addCriterion("roles_id >", value, "rolesId");
            return (Criteria) this;
        }

        public Criteria andRolesIdGreaterThanOrEqualTo(Long value) {
            addCriterion("roles_id >=", value, "rolesId");
            return (Criteria) this;
        }

        public Criteria andRolesIdLessThan(Long value) {
            addCriterion("roles_id <", value, "rolesId");
            return (Criteria) this;
        }

        public Criteria andRolesIdLessThanOrEqualTo(Long value) {
            addCriterion("roles_id <=", value, "rolesId");
            return (Criteria) this;
        }

        public Criteria andRolesIdIn(List<Long> values) {
            addCriterion("roles_id in", values, "rolesId");
            return (Criteria) this;
        }

        public Criteria andRolesIdNotIn(List<Long> values) {
            addCriterion("roles_id not in", values, "rolesId");
            return (Criteria) this;
        }

        public Criteria andRolesIdBetween(Long value1, Long value2) {
            addCriterion("roles_id between", value1, value2, "rolesId");
            return (Criteria) this;
        }

        public Criteria andRolesIdNotBetween(Long value1, Long value2) {
            addCriterion("roles_id not between", value1, value2, "rolesId");
            return (Criteria) this;
        }

        public Criteria andManagerAccountIsNull() {
            addCriterion("manager_account is null");
            return (Criteria) this;
        }

        public Criteria andManagerAccountIsNotNull() {
            addCriterion("manager_account is not null");
            return (Criteria) this;
        }

        public Criteria andManagerAccountEqualTo(String value) {
            addCriterion("manager_account =", value, "managerAccount");
            return (Criteria) this;
        }

        public Criteria andManagerAccountNotEqualTo(String value) {
            addCriterion("manager_account <>", value, "managerAccount");
            return (Criteria) this;
        }

        public Criteria andManagerAccountGreaterThan(String value) {
            addCriterion("manager_account >", value, "managerAccount");
            return (Criteria) this;
        }

        public Criteria andManagerAccountGreaterThanOrEqualTo(String value) {
            addCriterion("manager_account >=", value, "managerAccount");
            return (Criteria) this;
        }

        public Criteria andManagerAccountLessThan(String value) {
            addCriterion("manager_account <", value, "managerAccount");
            return (Criteria) this;
        }

        public Criteria andManagerAccountLessThanOrEqualTo(String value) {
            addCriterion("manager_account <=", value, "managerAccount");
            return (Criteria) this;
        }

        public Criteria andManagerAccountLike(String value) {
            addCriterion("manager_account like", value, "managerAccount");
            return (Criteria) this;
        }

        public Criteria andManagerAccountNotLike(String value) {
            addCriterion("manager_account not like", value, "managerAccount");
            return (Criteria) this;
        }

        public Criteria andManagerAccountIn(List<String> values) {
            addCriterion("manager_account in", values, "managerAccount");
            return (Criteria) this;
        }

        public Criteria andManagerAccountNotIn(List<String> values) {
            addCriterion("manager_account not in", values, "managerAccount");
            return (Criteria) this;
        }

        public Criteria andManagerAccountBetween(String value1, String value2) {
            addCriterion("manager_account between", value1, value2, "managerAccount");
            return (Criteria) this;
        }

        public Criteria andManagerAccountNotBetween(String value1, String value2) {
            addCriterion("manager_account not between", value1, value2, "managerAccount");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdIsNull() {
            addCriterion("manager_passwd is null");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdIsNotNull() {
            addCriterion("manager_passwd is not null");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdEqualTo(String value) {
            addCriterion("manager_passwd =", value, "managerPasswd");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdNotEqualTo(String value) {
            addCriterion("manager_passwd <>", value, "managerPasswd");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdGreaterThan(String value) {
            addCriterion("manager_passwd >", value, "managerPasswd");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdGreaterThanOrEqualTo(String value) {
            addCriterion("manager_passwd >=", value, "managerPasswd");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdLessThan(String value) {
            addCriterion("manager_passwd <", value, "managerPasswd");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdLessThanOrEqualTo(String value) {
            addCriterion("manager_passwd <=", value, "managerPasswd");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdLike(String value) {
            addCriterion("manager_passwd like", value, "managerPasswd");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdNotLike(String value) {
            addCriterion("manager_passwd not like", value, "managerPasswd");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdIn(List<String> values) {
            addCriterion("manager_passwd in", values, "managerPasswd");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdNotIn(List<String> values) {
            addCriterion("manager_passwd not in", values, "managerPasswd");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdBetween(String value1, String value2) {
            addCriterion("manager_passwd between", value1, value2, "managerPasswd");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdNotBetween(String value1, String value2) {
            addCriterion("manager_passwd not between", value1, value2, "managerPasswd");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltIsNull() {
            addCriterion("manager_passwd_salt is null");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltIsNotNull() {
            addCriterion("manager_passwd_salt is not null");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltEqualTo(String value) {
            addCriterion("manager_passwd_salt =", value, "managerPasswdSalt");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltNotEqualTo(String value) {
            addCriterion("manager_passwd_salt <>", value, "managerPasswdSalt");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltGreaterThan(String value) {
            addCriterion("manager_passwd_salt >", value, "managerPasswdSalt");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltGreaterThanOrEqualTo(String value) {
            addCriterion("manager_passwd_salt >=", value, "managerPasswdSalt");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltLessThan(String value) {
            addCriterion("manager_passwd_salt <", value, "managerPasswdSalt");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltLessThanOrEqualTo(String value) {
            addCriterion("manager_passwd_salt <=", value, "managerPasswdSalt");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltLike(String value) {
            addCriterion("manager_passwd_salt like", value, "managerPasswdSalt");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltNotLike(String value) {
            addCriterion("manager_passwd_salt not like", value, "managerPasswdSalt");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltIn(List<String> values) {
            addCriterion("manager_passwd_salt in", values, "managerPasswdSalt");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltNotIn(List<String> values) {
            addCriterion("manager_passwd_salt not in", values, "managerPasswdSalt");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltBetween(String value1, String value2) {
            addCriterion("manager_passwd_salt between", value1, value2, "managerPasswdSalt");
            return (Criteria) this;
        }

        public Criteria andManagerPasswdSaltNotBetween(String value1, String value2) {
            addCriterion("manager_passwd_salt not between", value1, value2, "managerPasswdSalt");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeIsNull() {
            addCriterion("manager_jointime is null");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeIsNotNull() {
            addCriterion("manager_jointime is not null");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeEqualTo(String value) {
            addCriterion("manager_jointime =", value, "managerJointime");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeNotEqualTo(String value) {
            addCriterion("manager_jointime <>", value, "managerJointime");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeGreaterThan(String value) {
            addCriterion("manager_jointime >", value, "managerJointime");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeGreaterThanOrEqualTo(String value) {
            addCriterion("manager_jointime >=", value, "managerJointime");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeLessThan(String value) {
            addCriterion("manager_jointime <", value, "managerJointime");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeLessThanOrEqualTo(String value) {
            addCriterion("manager_jointime <=", value, "managerJointime");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeLike(String value) {
            addCriterion("manager_jointime like", value, "managerJointime");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeNotLike(String value) {
            addCriterion("manager_jointime not like", value, "managerJointime");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeIn(List<String> values) {
            addCriterion("manager_jointime in", values, "managerJointime");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeNotIn(List<String> values) {
            addCriterion("manager_jointime not in", values, "managerJointime");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeBetween(String value1, String value2) {
            addCriterion("manager_jointime between", value1, value2, "managerJointime");
            return (Criteria) this;
        }

        public Criteria andManagerJointimeNotBetween(String value1, String value2) {
            addCriterion("manager_jointime not between", value1, value2, "managerJointime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeIsNull() {
            addCriterion("manager_lastlogin_time is null");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeIsNotNull() {
            addCriterion("manager_lastlogin_time is not null");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeEqualTo(String value) {
            addCriterion("manager_lastlogin_time =", value, "managerLastloginTime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeNotEqualTo(String value) {
            addCriterion("manager_lastlogin_time <>", value, "managerLastloginTime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeGreaterThan(String value) {
            addCriterion("manager_lastlogin_time >", value, "managerLastloginTime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeGreaterThanOrEqualTo(String value) {
            addCriterion("manager_lastlogin_time >=", value, "managerLastloginTime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeLessThan(String value) {
            addCriterion("manager_lastlogin_time <", value, "managerLastloginTime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeLessThanOrEqualTo(String value) {
            addCriterion("manager_lastlogin_time <=", value, "managerLastloginTime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeLike(String value) {
            addCriterion("manager_lastlogin_time like", value, "managerLastloginTime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeNotLike(String value) {
            addCriterion("manager_lastlogin_time not like", value, "managerLastloginTime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeIn(List<String> values) {
            addCriterion("manager_lastlogin_time in", values, "managerLastloginTime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeNotIn(List<String> values) {
            addCriterion("manager_lastlogin_time not in", values, "managerLastloginTime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeBetween(String value1, String value2) {
            addCriterion("manager_lastlogin_time between", value1, value2, "managerLastloginTime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginTimeNotBetween(String value1, String value2) {
            addCriterion("manager_lastlogin_time not between", value1, value2, "managerLastloginTime");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpIsNull() {
            addCriterion("manager_lastlogin_ip is null");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpIsNotNull() {
            addCriterion("manager_lastlogin_ip is not null");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpEqualTo(String value) {
            addCriterion("manager_lastlogin_ip =", value, "managerLastloginIp");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpNotEqualTo(String value) {
            addCriterion("manager_lastlogin_ip <>", value, "managerLastloginIp");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpGreaterThan(String value) {
            addCriterion("manager_lastlogin_ip >", value, "managerLastloginIp");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpGreaterThanOrEqualTo(String value) {
            addCriterion("manager_lastlogin_ip >=", value, "managerLastloginIp");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpLessThan(String value) {
            addCriterion("manager_lastlogin_ip <", value, "managerLastloginIp");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpLessThanOrEqualTo(String value) {
            addCriterion("manager_lastlogin_ip <=", value, "managerLastloginIp");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpLike(String value) {
            addCriterion("manager_lastlogin_ip like", value, "managerLastloginIp");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpNotLike(String value) {
            addCriterion("manager_lastlogin_ip not like", value, "managerLastloginIp");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpIn(List<String> values) {
            addCriterion("manager_lastlogin_ip in", values, "managerLastloginIp");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpNotIn(List<String> values) {
            addCriterion("manager_lastlogin_ip not in", values, "managerLastloginIp");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpBetween(String value1, String value2) {
            addCriterion("manager_lastlogin_ip between", value1, value2, "managerLastloginIp");
            return (Criteria) this;
        }

        public Criteria andManagerLastloginIpNotBetween(String value1, String value2) {
            addCriterion("manager_lastlogin_ip not between", value1, value2, "managerLastloginIp");
            return (Criteria) this;
        }

        public Criteria andManagerLockedIsNull() {
            addCriterion("manager_locked is null");
            return (Criteria) this;
        }

        public Criteria andManagerLockedIsNotNull() {
            addCriterion("manager_locked is not null");
            return (Criteria) this;
        }

        public Criteria andManagerLockedEqualTo(Boolean value) {
            addCriterion("manager_locked =", value, "managerLocked");
            return (Criteria) this;
        }

        public Criteria andManagerLockedNotEqualTo(Boolean value) {
            addCriterion("manager_locked <>", value, "managerLocked");
            return (Criteria) this;
        }

        public Criteria andManagerLockedGreaterThan(Boolean value) {
            addCriterion("manager_locked >", value, "managerLocked");
            return (Criteria) this;
        }

        public Criteria andManagerLockedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("manager_locked >=", value, "managerLocked");
            return (Criteria) this;
        }

        public Criteria andManagerLockedLessThan(Boolean value) {
            addCriterion("manager_locked <", value, "managerLocked");
            return (Criteria) this;
        }

        public Criteria andManagerLockedLessThanOrEqualTo(Boolean value) {
            addCriterion("manager_locked <=", value, "managerLocked");
            return (Criteria) this;
        }

        public Criteria andManagerLockedIn(List<Boolean> values) {
            addCriterion("manager_locked in", values, "managerLocked");
            return (Criteria) this;
        }

        public Criteria andManagerLockedNotIn(List<Boolean> values) {
            addCriterion("manager_locked not in", values, "managerLocked");
            return (Criteria) this;
        }

        public Criteria andManagerLockedBetween(Boolean value1, Boolean value2) {
            addCriterion("manager_locked between", value1, value2, "managerLocked");
            return (Criteria) this;
        }

        public Criteria andManagerLockedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("manager_locked not between", value1, value2, "managerLocked");
            return (Criteria) this;
        }

        public Criteria andActiveIsNull() {
            addCriterion("is_active is null");
            return (Criteria) this;
        }

        public Criteria andActiveIsNotNull() {
            addCriterion("is_active is not null");
            return (Criteria) this;
        }

        public Criteria andActiveEqualTo(Boolean value) {
            addCriterion("is_active =", value, "active");
            return (Criteria) this;
        }

        public Criteria andActiveNotEqualTo(Boolean value) {
            addCriterion("is_active <>", value, "active");
            return (Criteria) this;
        }

        public Criteria andActiveGreaterThan(Boolean value) {
            addCriterion("is_active >", value, "active");
            return (Criteria) this;
        }

        public Criteria andActiveGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_active >=", value, "active");
            return (Criteria) this;
        }

        public Criteria andActiveLessThan(Boolean value) {
            addCriterion("is_active <", value, "active");
            return (Criteria) this;
        }

        public Criteria andActiveLessThanOrEqualTo(Boolean value) {
            addCriterion("is_active <=", value, "active");
            return (Criteria) this;
        }

        public Criteria andActiveIn(List<Boolean> values) {
            addCriterion("is_active in", values, "active");
            return (Criteria) this;
        }

        public Criteria andActiveNotIn(List<Boolean> values) {
            addCriterion("is_active not in", values, "active");
            return (Criteria) this;
        }

        public Criteria andActiveBetween(Boolean value1, Boolean value2) {
            addCriterion("is_active between", value1, value2, "active");
            return (Criteria) this;
        }

        public Criteria andActiveNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_active not between", value1, value2, "active");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
    manager
     *
     * @mbg.generated do_not_delete_during_merge Fri Oct 11 10:45:51 CST 2019
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}